.cmv .dijitToolbar .dijitButtonContents {
    padding: 1px !important;
}

.cmv .dijitTitlePane {
    margin-bottom: 2px;
    background-color: #FFF;
}

.cmv .dijitTitlePaneTitle {
    color: #666;
    background-color: #F5F5F5;
}

.cmv .dijitTitlePaneTitleOpen {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.cmv label {
    font-weight: bold;
}

.cmv :focus {
    outline: none !important;
}

/* icons for the sidebar */
.cmv .dijitTitlePane .dijitTitlePaneTitle .titlePaneIcon {
    margin: 0 0 0 8px;
    padding-top: 2px;
}
/* end custom icons */

/* esri popup window overrides */

.cmv .esriPopup .sizer {
    width: 325px;
}

.cmv .esriPopup .esriPopupWrapper {
    background-color: #FFFFFF;
}
.cmv .esriPopup .attachmentsSection div {
    font-weight: bold;
}
.cmv .esriPopup .contentPane table.attrTable {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    word-wrap: break-word;
}
.cmv .esriPopup .contentPane table.attrTable td {
    padding: 2px;
}
.cmv .esriPopup .contentPane table.attrTable td.attrName {
    text-align: right;
    font-weight: bold;
    color: #333333;
    width: 40%;
    min-width: 110px;
    padding-right: 5px;
}
.cmv .esriPopup .contentPane table.attrTable td.attrValue {
    /*width: 60%;*/
}
.cmv .esriPopup .contentPane table.attrTable tr {
    vertical-align: top;
    border-bottom: 1px solid rgb(221, 221, 221);
}
.cmv .esriPopup .contentPane table.attrTable tr:nth-child(odd) {
    background-color: none;
}
.cmv .esriPopup .contentPane table.attrTable tr:nth-child(even) {
    background-color: rgb(238, 238, 238);
}

/* end esri popup window overrides */

/* esri mobile popup overrides */

.cmv .esriPopupMobile {
    z-index: 999;
}
.cmv .esriMobileNavigationBar {
    background-color: #666666;
    background: url("../img/linen.jpg") repeat-x scroll left top transparent;
    color: #FFFFFF;
}
.cmv .esriPopupMobile .titlePane {
    background-color: #666666;
    background: url("../img/linen.jpg") repeat-x scroll left top transparent;
    color: #FFFFFF;
}
.cmv .esriPopupMobile .pointer.bottom{
    background:url("../img/pointertop.png");
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}
.cmv .esriPopupMobile .pointer.top {
    background:url("../img/pointertop.png");
}

/* end esri mobile popup overrides */

/* esri directions widget overrides */
.cmv .simpleDirections .esriStopsGetDirections,
.cmv .simpleDirections .esriResultsPrint,
.simpleDirections .esriActivateButton {
    background-color: #E6E6E6;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(1, #e6e6e6));
    background-image: -webkit-linear-gradient(top, #fff 0%, #e6e6e6 100%);
    background-image: -moz-linear-gradient(top, #fff 0%, #e6e6e6 100%);
    background-image: -o-linear-gradient(top, #fff 0%, #e6e6e6 100%);
    background-image: -ms-linear-gradient(top, #fff 0%, #e6e6e6 100%);
    background-image: linear-gradient(top, #fff 0%, #e6e6e6 100%);
    background-repeat: repeat-x;
    border: 1px solid #BBB;
    border-bottom: 1px solid #A8A8A8;
    padding: 0px 12px;
    color: #000;
    letter-spacing: 0;
    text-transform: none;
}
.cmv .simpleDirections .esriStopsGetDirections:before {
    content: '\f277';
    font-family: 'FontAwesome';
    margin-right: 8px;
}

.cmv .simpleDirections .esriResultsPrint {
    padding: 8px;
}

.cmv .simpleDirections .esriResultsPrint:before {
    content: '\f02f';
    font-family: 'FontAwesome';
    font-size: 14px;
}

.cmv .simpleDirections .esriActivateButton {
    padding: 8px;
}

.cmv .simpleDirections .esriActivateButton:before {
    content: '\f041';
    font-family: 'FontAwesome';
    font-size: 14px;
}

.cmv .esriDirectionsPressedButton {
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #fff), color-stop(1, #e6e6e6));
    background-image: -webkit-linear-gradient(bottom, #fff 0%, #e6e6e6 100%);
    background-image: -moz-linear-gradient(bottom, #fff 0%, #e6e6e6 100%);
    background-image: -o-linear-gradient(bottom, #fff 0%, #e6e6e6 100%);
    background-image: -ms-linear-gradient(bottom, #fff 0%, #e6e6e6 100%);
    background-image: linear-gradient(bottom, #fff 0%, #e6e6e6 100%);
    background-repeat: repeat-x;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.4), 0 1px 1px rgba(0,0,0,0.2);
    border-top-color: #444;
    border-color: #666;
    -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,0.4), 0 1px 1px rgba(0,0,0,0.2);
}

.cmv .simpleDirections .esriLinkButton {
    color: #000;
    letter-spacing: 0;
    text-transform: none;
}
/* end esri directions widget overrides */

/* flat theme */
/* makes the flat theme more like dbootstrap */
.flat {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.flat a,
.flat a:hover {
    text-decoration: none;
}

.flat .dijitTitlePane {
    border-color: #E0E0E0;
}

.flat .dijitTabContainerTop-tabs .dijitTabChecked:before {
    height: 3px;
    background-color: #666;
    top: -1px;
    left: -1px;
    right: -1px;
}

.flat .dijitTitlePaneTitle {
    border: 1px solid #DDD;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    padding: 8px 15px;
}

.flat .dijitDialogTitleBar {
    background-color: #F5F5F5;
    color: #666;
}

.flat .dijitTitlePaneContentOuter {
    border: 1px solid #DDD;
    border-top: none;
}

.flat .dijitButtonHover .dijitButtonNode,
.flat .dijitDropDownButtonHover .dijitButtonNode,
.flat .dijitComboButton .dijitButtonNodeHover,
.flat .dijitComboButton .dijitDownArrowButtonHover,
.flat .dijitToggleButtonHover .dijitButtonNode,
.flat .dijitDropDownButtonActive .dijitButtonNode {
    background-position: 0 -15px;
    text-decoration: none;
    transition: background-position 0.1s linear;
    -moz-transition: background-position 0.1s linear;
    -ms-transition: background-position 0.1s linear;
    -o-transition: background-position 0.1s linear;
    -webkit-transition: background-position 0.1s linear;
}
.flat .dijitButtonActive .dijitButtonNode,
.flat .dijitComboButton .dijitButtonNodeActive,
.flat .dijitToggleButtonActive .dijitButtonNode,
.flat .dijitToggleButtonChecked .dijitButtonNode,
.flat .dijitComboButton .dijitArrowButton.dijitHasDropDownOpen {
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #fff), color-stop(1, #e6e6e6));
    background-image: -webkit-linear-gradient(bottom, #fff 0%, #e6e6e6 100%);
    background-image: -moz-linear-gradient(bottom, #fff 0%, #e6e6e6 100%);
    background-image: -o-linear-gradient(bottom, #fff 0%, #e6e6e6 100%);
    background-image: -ms-linear-gradient(bottom, #fff 0%, #e6e6e6 100%);
    background-image: linear-gradient(bottom, #fff 0%, #e6e6e6 100%);
    background-repeat: repeat-x;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.4), 0 1px 1px rgba(0,0,0,0.2);
    border-top-color: #444;
    border-color: #666;
    -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,0.4), 0 1px 1px rgba(0,0,0,0.2);
}
.flat .dijitButtonDisabled .dijitButtonNode,
.flat .dijitDropDownButtonDisabled .dijitButtonNode,
.flat .dijitComboButtonDisabled .dijitButtonNode,
.flat .dijitToggleButtonDisabled .dijitButtonNode,
.flat .dijitComboBoxDisabled .dijitButtonNode,
.flat .dijitSpinnerDisabled .dijitButtonNode,
.flat .dijitSelectDisabled .dijitButtonNode {
    background-image: none;
    box-shadow: none;
    cursor: not-allowed;
    filter: alpha(opacity=65);
    opacity: 0.65;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=65);
    -webkit-box-shadow: none;
}

.flat .success .dijitButtonNode {
    background: #409843;
    color: #FFF;
    border-color: #39883c;
}
.flat .danger .dijitButtonNode {
    background: #e32d29;
    color: #FFF;
    border-color: #d4201b;
}

.flat .dijitTextBoxHover,
.flat .dijitTextBoxFocused,
.flat .dijitCheckBoxChecked,
.flat .dijitCheckBoxHover,
.flat .dijitCheckBoxCheckedHover,
.flat .dijitRadio,
.flat .dijitRadioIcon,
.flat .dijitRadioHover {
    border-color: #666;
}
.flat .dijitCheckBoxChecked,
.flat .dijitRadio:after,
.flat .dijitRadioIcon:after {
    background-color: #999;
}

/* end flat theme */
